// AI补全相关接口
export interface AICompletionRequest {
  prefixContent: string;
  suffixContent: string;
  language?: string;
}

export interface AICompletionResponse {
  code: number;
  message: string;
  data: string[];
}

// AI代码注释相关接口
export interface AICommentRequest {
  code: string;
  language: string;
}

export interface AICommentResponse {
  code: number;
  message: string;
  data: {
    lineNumber: number;
    comment: string;
  }[];
}

// 内部服务接口
export interface AICompletionServiceRequest {
  prefixContent: string;
  suffixContent: string;
  language?: string;
}

export interface AICompletionServiceResponse {
  success: boolean;
  data: string[];
  error?: string;
}

export interface AICommentServiceRequest {
  code: string;
  language: string;
}

export interface AICommentServiceResponse {
  success: boolean;
  data: {
    lineNumber: number;
    comment: string;
  }[];
  error?: string;
}